{strip}
{if isset($interface_modules) && $interface_modules && $smarty.get.module && $interface_modules[$smarty.get.module]}
	{foreach from=$interface_modules key="module" item="item"}
        {if $module == $smarty.get.module}
        {assign var="tpl_title" value="popup_title_create_new_page"}
		{assign var="tpl_align" value="middle"}
        {capture name="popfile"}admin/modules/{$module}/popups/{$smarty.get.popup}.html{/capture}
		{include file=$smarty.capture.popfile}
        {/if}
	{/foreach}

{else}

{if $smarty.get.module == 'ntplius'}
	{capture name="popfile"}admin/modules/{$smarty.get.module}/popups/{$smarty.get.popup}.html{/capture}
	{include file=$smarty.capture.popfile}
{else}
	{if $smarty.get.popup == 1}
			{include file="admin/popups/new_page.htm"}
			{assign var="tpl_title" value="popup_title_create_new_page"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup==4}
			{include file="admin/popups/new_element.htm"}
			{assign var="tpl_title" value="popup_title_create_new_element"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 2}
			{include file="admin/popups/change_settings.htm"}
			{assign var="tpl_title" value="popup_title_change_page_props"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 5}
			{include file="admin/popups/insert_link.htm"}
			{assign var="tpl_title" value="popup_title_insert_link"}
			{assign var="yes" value="Link();"}
			{assign var="no" value="window.close();"}
	{elseif $smarty.get.popup == 6}
			{include file="admin/popups/admin_new.htm"}
			{assign var="tpl_title" value="popup_title_new_admin"}
			{assign var="yes" value=""}
			{assign var="no" value=""}
	{elseif $smarty.get.popup == 7}
			{include file="admin/popups/admin_edit.htm"}
			{assign var="tpl_title" value="popup_title_edit_admin"}
			{assign var="yes" value=""}
			{assign var="no" value=""}
	{elseif $smarty.get.popup == 8}
			{include file="admin/popups/insert_table.htm"}
			{assign var="tpl_title" value="Lentelės įterpimas"}
			{assign var="yes" value="top.opener.window.insertFld(forma01.field.value,editor_insertTable(forma01.rows.value,forma01.cols.value,forma01.border,'border=1 width=100% cellpadding=0 cellspacing=0')); window.close();"}
			{assign var="no" value=""}
	{elseif $smarty.get.popup == 9}
			{include file="admin/popups/copy_pages.htm"}
			{assign var="tpl_title" value="Puslapų kopijavimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 10}
			{include file="admin/popups/move_pages.htm"}
			{assign var="tpl_title" value="Puslapų pernešimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}		
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 11}
			{include file="admin/popups/new_block.htm"}
			{assign var="tpl_title" value="Naujo bloko sukūrimas"}				
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 12}
			{include file="admin/popups/select_block.htm"}
			{assign var="tpl_title" value="Pasirinkite kurį bloką norėsite naudoti"}				
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 13}
			{include file="admin/popups/change_block_settings.htm"}
			{assign var="tpl_title" value="Informacijos bloko nuostatų keitimas"}				
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 14}
			{include file="admin/popups/select_tree_element.htm"}
			{assign var="tpl_title" value="Informacijos bloko nuostatų keitimas"}				
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 15}
			{include file="admin/popups/new_client_group.htm"}
			{assign var="tpl_title" value="Naujos klientų grupes sukūrimas"}				
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 16}
			{include file="admin/popups/admin_permision.htm"}
			{assign var="tpl_title" value="Administratoriaus teisės valdyti tinklapio struktūrą"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 17}
			{include file="admin/popups/form_filter.htm"}
			{assign var="tpl_title" value="Filtravimo parinktys"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 18}
			{include file="admin/popups/set_client_groups.htm"}
			{assign var="tpl_title" value="Kliento priskyrimas grupėms"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 19}
			{include file="admin/popups/new_client_data.htm"}
			{assign var="tpl_title" value="Sukurti naują klientą"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 20}
			{include file="admin/popups/change_group_settings.htm"}
			{assign var="tpl_title" value="Grupes nuostatų keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 21}
			{include file="admin/popups/new_news_subscribe_data.htm"}
			{assign var="tpl_title" value="Sukurti naują prenumeratorių"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 22}
			{include file="admin/popups/shop_new_group.htm"}
			{assign var="tpl_title" value="Sukurti naują prekių grupę"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 23}
			{include file="admin/popups/shop_new_product.htm"}
			{assign var="tpl_title" value="Sukurti naują prekę"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 24}
			{include file="admin/popups/new_newsletter.html"}
			{assign var="tpl_title" value="Sukurti naują laišką"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 25}
			{include file="admin/popups/send_newsletter.html"}
			{assign var="tpl_title" value="Laiškų siuntimas"}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
			{assign var="tpl_height" value="1"}
	{elseif $smarty.get.popup == 26}
			{include file="admin/popups/change_newsletter_settings.htm"}
			{assign var="tpl_title" value="Laiškų siuntimo nuostatų keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 27}
			{include file="admin/popups/shop_new_subgroup.htm"}
			{assign var="tpl_title" value="Sukurti naują prekių pogrupį"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 28}
			{include file="admin/popups/shop_group_settings.htm"}
			{assign var="tpl_title" value="Grupes nuostatų keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 29}
			{include file="admin/popups/shop_group_list.htm"}
			{assign var="tpl_title" value="Prekių grupės"}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 30}
			{include file="admin/popups/forum_new_subject.htm"}
			{assign var="tpl_title" value="Sukurti naują forumą"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 31}
			{include file="admin/popups/forum_subject_settings.htm"}
			{assign var="tpl_title" value="Forumo nuostatų keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 32}
			{include file="admin/popups/forum_subject_list.htm"}
			{assign var="tpl_title" value="Forumai"}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 33}
			{include file="admin/popups/shop_products_copy.htm"}
			{assign var="tpl_title" value="Prekių kopijavimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 34}
			{include file="admin/popups/shop_products_move.htm"}
			{assign var="tpl_title" value="Prekių pernešimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 35}
			{include file="admin/popups/shop_off_add.htm"}
			{assign var="tpl_title" value="Sukurti naują nuolaidą"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 37}
			{include file="admin/popups/shop_off_depend.htm"}
			{assign var="tpl_title" value="Nuolaidos pasirinkimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 38}
			{include file="admin/popups/shop_edit_product_name.htm"}
			{assign var="tpl_title" value="Prekes pavadinimo keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 39}
			{include file="admin/popups/shop_edit_off_name.htm"}
			{assign var="tpl_title" value="Kainos modifikatorio pavadinimo keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 40}
			{include file="admin/popups/insert_email_in_blacklist.htm"}
			{assign var="tpl_title" value="Įtraukti naują el. adresą"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 41}
			{include file="admin/popups/add_fields_to_client.htm"}
			{assign var="tpl_title" value="Papildyti kliento laukus"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 42}
			{include file="admin/popups/change_watermark_name.htm"}
			{assign var="tpl_title" value="Pavadinimo keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 43}
			{include file="admin/popups/watermark_list.htm"}
			{assign var="tpl_title" value="Watermarks"}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 44}
			{include file="admin/popups/copy_blocks.htm"}
			{assign var="tpl_title" value="Informacijos blokų kopijavimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 45}
			{include file="admin/popups/set_clients_groups.htm"}
			{assign var="tpl_title" value="Klientų priskyrimas grupėms"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 46}
			{include file="admin/popups/realstate_new_subgroup.htm"}
			{assign var="tpl_title" value="Sukurti naują objektų pogrupį"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 47}
			{include file="admin/popups/realstate_group_settings.htm"}
			{assign var="tpl_title" value="Grupes nuostatų keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 48}
			{include file="admin/popups/realstate_group_list.htm"}
			{assign var="tpl_title" value="Objektų grupės"}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 49}
			{include file="admin/popups/realstate_products_copy.htm"}
			{assign var="tpl_title" value="Objektų kopijavimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 50}
			{include file="admin/popups/realstate_products_move.htm"}
			{assign var="tpl_title" value="Objektų pernešimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 51}
			{include file="admin/popups/realstate_off_add.htm"}
			{assign var="tpl_title" value="Sukurti naują nuolaidą"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 52}
			{include file="admin/popups/realstate_off_depend.htm"}
			{assign var="tpl_title" value="Nuolaidos pasirinkimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 53}
			{include file="admin/popups/realstate_edit_product_name.htm"}
			{assign var="tpl_title" value="Objekto pavadinimo keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 54}
			{include file="admin/popups/realstate_edit_off_name.htm"}
			{assign var="tpl_title" value="Kainos modifikatorio pavadinimo keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 55}
			{include file="admin/popups/realstate_new_group.htm"}
			{assign var="tpl_title" value="Sukurti naują objektų grupę"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 56}
			{include file="admin/popups/realstate_new_product.htm"}
			{assign var="tpl_title" value="Sukurti naują objektą"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 57}
			{include file="admin/popups/docum_new_subgroup.htm"}
			{assign var="tpl_title" value="Sukurti naują dokumentų pogrupį"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 58}
			{include file="admin/popups/docum_group_settings.htm"}
			{assign var="tpl_title" value="Grupes nuostatų keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 59}
			{include file="admin/popups/docum_group_list.htm"}
			{assign var="tpl_title" value="Dokumentų grupės"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 60}
			{include file="admin/popups/docum_products_copy.htm"}
			{assign var="tpl_title" value="Dokumentų kopijavimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 61}
			{include file="admin/popups/docum_products_move.htm"}
			{assign var="tpl_title" value="Dokumentų pernešimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 62}
			{include file="admin/popups/docum_edit_product_name.htm"}
			{assign var="tpl_title" value="Dokumento pavadinimo keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 63}
			{include file="admin/popups/docum_new_group.htm"}
			{assign var="tpl_title" value="Sukurti naują dokumentų grupę"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 64}
			{include file="admin/popups/docum_new_product.htm"}
			{assign var="tpl_title" value="Sukurti naują dokumentą"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 65}
			{include file="admin/popups/contacts_new_subgroup.htm"}
			{assign var="tpl_title" value="Sukurti naują imonę"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 66}
			{include file="admin/popups/contacts_group_settings.htm"}
			{assign var="tpl_title" value="Grupes nuostatų keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="middle"}
	{elseif $smarty.get.popup == 67}
			{include file="admin/popups/contacts_group_list.htm"}
			{assign var="tpl_title" value="Imonių grupės"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 68}
			{include file="admin/popups/contacts_products_copy.htm"}
			{assign var="tpl_title" value="Kontaktų kopijavimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 69}
			{include file="admin/popups/contacts_products_move.htm"}
			{assign var="tpl_title" value="Kontaktų pernešimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 70}
			{include file="admin/popups/contacts_edit_product_name.htm"}
			{assign var="tpl_title" value="Kontakto pavadinimo keitimas"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 71}
			{include file="admin/popups/contacts_new_group.htm"}
			{assign var="tpl_title" value="Sukurti naują imonių grupę"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 72}
			{include file="admin/popups/contacts_new_product.htm"}
			{assign var="tpl_title" value="Sukurti naują kontaktą"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="bottom"}
	{elseif $smarty.get.popup == 73}
			{include file="admin/popups/shop_subproducts.htm"}
			{assign var="tpl_title" value="Susijusios priekes"}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="0"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup == 74}
			{include file="admin/popups/shop_products_pos.htm"}
			{assign var="tpl_title" value="Prekių pozicijos keitimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup==75}
			{include file="admin/popups/copy_element.htm"}
			{assign var="tpl_title" value="Elementų kopijavimas"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup==76}
			{include file="admin/modules/jcdmaps/popups/new-objektas.html"}
			{assign var="tpl_title" value="Naujas objektas"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup==77}
			{include file="admin/modules/jcdmaps/popups/new-elementas.html"}
			{assign var="tpl_title" value="Naujas elementas"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="0"}
			{assign var="no_noborder" value="1"}
			{assign var="tpl_align" value="top"}
	{elseif $smarty.get.popup==78}
			{include file="admin/modules/jcdmaps/popups/cut-objektas.html"}
			{assign var="tpl_title" value="Perkelti pažymėtus objektus"}
			{assign var="yes" value="window.close();"}
			{assign var="no" value=""}
			{assign var="no_buttons" value="1"}
			{assign var="no_noborder" value="1"}
	{/if}
{/if}		

<table width="100%" height="100%" bgcolor="#EDF0F2" cellpadding="0" cellspacing="0">
	<tr>
		<td valign="top">
		<!-- * -->
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="35" bgcolor="#A8B3B8" style="text-align:center; color:#FFFFFF; font-weight:bold">{t t=$tpl_title}</td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="3" bgcolor="#667983"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
{error->LoadErrorArray assign='errors'}
{if $errors}
<table width="100%" cellspacing="0">	
	<tr>
		<td height="5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
	{foreach from=$errors item='el'}
	<tr>		
		<td width="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
		<td style="color:#FF0000 " align="center">{t error=$el}</td>
		<td width="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>	
	{/foreach}	
</table>
{/if}
<table width="100%" cellpadding="{if !$no_noborder}1{/if}0" cellspacing="0">
	<tr>
		<td height="{$tpl_height|default:"250"}" bgcolor="#EDF0F2" valign="{$tpl_align}">
		<form action="index.php" method="post" enctype="multipart/form-data" name="forma01">
		<input type="hidden" name="kill" value="1">		
		<input name="referer" type="hidden" value="{ext->get_referer}">
		{$smarty.capture.hidden}
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td>
				{$smarty.capture.fields}
				</td>
			</tr>
			<tr>
				<td>
				{if !$no_buttons}
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td height="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					</tr>
					<tr>
						<td align="left"><input onClick="{if $yes}{$yes}{else}submit();{/if}"  type="button" value="{t t='popup_ok'}" class="defaultFormButton"></td>
						<td align="right"><input type="reset" onClick="{if $no}{$no}{else}window.close(){/if}" value="{t t='popup_cancel'}" class="defaultFormButton"></td>
					</tr>
				</table>
				{/if}
				</td>
			</tr>
		</table>
		</form>
		</td>
	</tr>
</table>
<!-- /* -->
</td>
	</tr>
</table>
{/if}

{/strip}